Optimal. Leaf size=471 \[ -\frac{2 i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (3,-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (3,i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{c x-1} \sqrt{c x+1} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{c x-1} \sqrt{c x+1} \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.963503, antiderivative size = 471, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 11, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.379, Rules used = {5798, 5756, 5761, 4180, 2531, 2282, 6589, 5694, 4182, 2279, 2391} \[ -\frac{2 i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-i e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,i e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,-e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (2,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (3,-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b^2 \sqrt{c x-1} \sqrt{c x+1} \text{PolyLog}\left (3,i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{c x-1} \sqrt{c x+1} \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{c x-1} \sqrt{c x+1} \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5756
Rule 5761
Rule 4180
Rule 2531
Rule 2282
Rule 6589
Rule 5694
Rule 4182
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{x \left (d-c^2 d x^2\right )^{3/2}} \, dx &=-\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{x (-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{x \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b c \sqrt{-1+c x} \sqrt{1+c x}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{-1+c^2 x^2} \, dx}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{\left (\sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x)^2 \text{sech}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x) \text{csch}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1-i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (2 i b \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1+i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (2 i b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 i b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (i e^x\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{\left (2 i b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(-i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{\left (2 i b^2 \sqrt{-1+c x} \sqrt{1+c x}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(i x)}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}\\ &=\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{d \sqrt{d-c^2 d x^2}}+\frac{2 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{4 b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (-e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \text{Li}_2\left (i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_2\left (e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}+\frac{2 i b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_3\left (-i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}-\frac{2 i b^2 \sqrt{-1+c x} \sqrt{1+c x} \text{Li}_3\left (i e^{\cosh ^{-1}(c x)}\right )}{d \sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 3.52595, size = 577, normalized size = 1.23 \[ -\frac{\frac{2 i a b d \left (\sqrt{\frac{c x-1}{c x+1}} (c x+1) \text{PolyLog}\left (2,-i e^{-\cosh ^{-1}(c x)}\right )-\sqrt{\frac{c x-1}{c x+1}} (c x+1) \text{PolyLog}\left (2,i e^{-\cosh ^{-1}(c x)}\right )+i \cosh ^{-1}(c x)+\sqrt{\frac{c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x) \log \left (1-i e^{-\cosh ^{-1}(c x)}\right )-\sqrt{\frac{c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x) \log \left (1+i e^{-\cosh ^{-1}(c x)}\right )-i \sqrt{\frac{c x-1}{c x+1}} (c x+1) \log \left (\tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )\right )}{\sqrt{d-c^2 d x^2}}+\frac{b^2 d \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (2 i \cosh ^{-1}(c x) \text{PolyLog}\left (2,-i e^{-\cosh ^{-1}(c x)}\right )-2 i \cosh ^{-1}(c x) \text{PolyLog}\left (2,i e^{-\cosh ^{-1}(c x)}\right )+2 \text{PolyLog}\left (2,-e^{-\cosh ^{-1}(c x)}\right )-2 \text{PolyLog}\left (2,e^{-\cosh ^{-1}(c x)}\right )+2 i \text{PolyLog}\left (3,-i e^{-\cosh ^{-1}(c x)}\right )-2 i \text{PolyLog}\left (3,i e^{-\cosh ^{-1}(c x)}\right )+\frac{\sqrt{\frac{c x-1}{c x+1}} \cosh ^{-1}(c x)^2}{1-c x}+i \cosh ^{-1}(c x)^2 \log \left (1-i e^{-\cosh ^{-1}(c x)}\right )-i \cosh ^{-1}(c x)^2 \log \left (1+i e^{-\cosh ^{-1}(c x)}\right )+2 \cosh ^{-1}(c x) \log \left (1-e^{-\cosh ^{-1}(c x)}\right )-2 \cosh ^{-1}(c x) \log \left (e^{-\cosh ^{-1}(c x)}+1\right )\right )}{\sqrt{d-c^2 d x^2}}+\frac{a^2 \sqrt{d-c^2 d x^2}}{c^2 x^2-1}+a^2 \sqrt{d} \log \left (\sqrt{d} \sqrt{d-c^2 d x^2}+d\right )+a^2 \left (-\sqrt{d}\right ) \log (c x)}{d^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.36, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b{\rm arccosh} \left (cx\right ) \right ) ^{2}}{x} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-c^{2} d x^{2} + d}{\left (b^{2} \operatorname{arcosh}\left (c x\right )^{2} + 2 \, a b \operatorname{arcosh}\left (c x\right ) + a^{2}\right )}}{c^{4} d^{2} x^{5} - 2 \, c^{2} d^{2} x^{3} + d^{2} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{2}}{x \left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{2}}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]